<?php



class TipoServicioMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TipoServicioMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('sindes');

		$tMap = $this->dbMap->addTable('tipo_servicio');
		$tMap->setPhpName('TipoServicio');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('CP_TIPO_SERVICIO', 'CpTipoServicio', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('TIPO_SERVICIO', 'TipoServicio', 'string', CreoleTypes::VARCHAR, true, 30);

		$tMap->addColumn('ESTATUS', 'Estatus', 'string', CreoleTypes::CHAR, true, 1);

	} 
} 